<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
    <head>
        <title><!--拍照上传--></title>
        <meta charset="utf-8">
        <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
    	<link rel="stylesheet" href="css/ui-box.css">
        <link rel="stylesheet" href="css/ui-base.css">
		<link rel="stylesheet" href="css/project/style.css">
		<link rel="stylesheet" href="index/css/main.css">
        <link rel="stylesheet" href="css/zv_common.css">
		<script src="js/zy_control.js"></script>
        <script src="js/zy_click.js"></script>
		<script src="js/main.js"></script>
		<script src="js/talkingdata.js"></script>
		<style>
		*{overflow:hidden;}
		body{ overflow:hidden;}
	</style>
    </head>
    <body class="um-vp" ontouchstart style="background:#6f6e6f">
        <div id="page_0" class="up ub ub-ver" tabindex="0">
            <!--header开始-->
            <div id="header" class="uh t-wh ub c-blu">
            	<div class="umw2 ub ub-ac ub-pc" ontouchstart="zy_touch('')"  onclick="exitApp();">
	                	<div class="uwh-tBtn ub-img t-btn-a1"></div>
	            </div>
                <h1 class="ut ub-f1 ulev-3 ut-s tx-c flight_c_top"   tabindex="0"  >遗留物品拍照</h1>
				<div class="umw2 ub ub-ac ub-pc" ontouchstart="zy_touch('btn-act')" onclick="">
            		<!--插入按钮控件-->
				</div>
            </div>
            <!--header结束--><!--content开始-->
            <div id="content" class="ub-f1 tx-l">
                
            </div>
            <!--content结束-->
			<!--footer-->
           <div id="footer" style="border:0px;">
           	<div ontouchstart="zy_touch('btn-act')" id="opensheet" class="zv_bblue uinn11   t-wh  tx-c" onclick="showActionSheet()">拍照/相册</div>
			
			<div ontouchstart="zy_touch('btn-act')" id="upload" style="display:none;" class="zv_bblue uinn11   t-wh  tx-c" onclick="upload()">开始上传</div>
			
			<div ontouchstart="zy_touch('btn-act')" id="uploading" style="display:none;" class="zv_bblue uinn11   t-wh  tx-c">正在上传中...</div>
           </div>
        </div>
    </body>
    <script>
    	zy_init();
		function showDiv(id,txt)
		{
			if(txt=='重新上传')
			{
				document.getElementById("upload").innerHTML=txt;
			}
			document.getElementById("upload").style.display="none";
			document.getElementById("opensheet").style.display="none";
			document.getElementById("uploading").style.display="none";
			document.getElementById(id).style.display="block";
		}
		function upload()
		{
			ueppscript("take_picuters","content","upload()");
		}
		function showActionSheet(){
		        uexWindow.cbActionSheet=function (opId, dataType, data)
		        {
			        if(data == 0)
			        {
						ueppscript("take_picuters","content","openCamera()");
			                //uexCamera.open();
			        }
			        else if(data == 1)
			        { 
						ueppscript("take_picuters","content","openPick()");
			        }
		        }
		        var value = "拍    照;本地相册";
		        var mycars=value.split(";");
		        uexWindow.actionSheet("","取消",mycars);
		}
        window.uexOnload = function(type){
			uescript("kitsch_entry","winCloseX()")
            if (!type) {
				exitreturn()
                zy_con("content", "take_picuters_content.html", 0, $$("header").offsetHeight);
				IC.talkingDataCount("遗留物品录入查询","0017");
            }
			window.onorientationchange=window.onresize=function()
			{
				zy_resize("content",0,$$("header").offsetHeight);				
			}
        }
		function winCloseX()
		{
			winClose();
		}
    </script>
</html>